import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  base: '/custom/',
  plugins: [vue()],
  server: {
    proxy: {
      '/api': {
        target: 'http://ai.zjtg.com.cn:8006', // 康闪
        // target: 'http://localhost:8080', // 本地
        changeOrigin: true,
      }
    },
  }
})
